Handle `parse-partial-sexp' landing inside a comment opener
authorAlan Mackenzie <acm@muc.de>
Wed, 3 Apr 2013 17:50:39 +0000 (17:50 +0000)
committerAlan Mackenzie <acm@muc.de>
Wed, 3 Apr 2013 17:50:39 +0000 (17:50 +0000)
commitfc090a5e675483f79875f5b474cb95a6ebc9a43b
treefe6b44884e47a534b050cf8ffceaffc3a0f1cd91
parente22202954c9ab2e2a2dd86a0ff7a7aad7c0f6de9
Handle `parse-partial-sexp' landing inside a comment opener
(Bug#13244). Also adapt to the new values of element 7 of a parse
state.

* progmodes/cc-engine.el (c-state-pp-to-literal): New optional
parameter `not-in-delimiter'.  Handle being inside comment opener.
(c-invalidate-state-cache-1): Reckon with an extra "invalid"
character in case we're typing a '*' after a '/'.
(c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
instead by passing the parameter to c-state-pp-to-literal.

* progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
for elt. 7 of a parse state.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el